package com.example.smartf.model.mongo;

import java.io.Serializable;
import java.util.Arrays;

public class User implements Serializable {
    private String username;
    private String devices[];

    public User(){

    }

    public User(String username, String[] devices) {
        this.username = username;
        this.devices = devices;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String[] getDevices() {
        return devices;
    }

    public void setDevices(String[] devices) {
        this.devices = devices;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", devices=" + Arrays.toString(devices) +
                '}';
    }
}
